DocCADLink_AfterReadMTBProperties event

Occurs after a document property that is mapped to multiple title block attributes is read.

Syntax

DocCADLink_AfterReadMTBProperties (Batch, BCPropStorage)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected.

BCPropStorage

An object that contains the property information that will be written. See About the BCPropStorage object for its available properties and methods.

Remarks

This event occurs only in the linked applications, not in the Meridian client applications.

Example

Sub DocCADLink_AfterReadMTBProperties(Batch, MTBProperties)
  Dim counter
  counter=100
  Dim allLayouts    
  allLayouts = MTBProperties.LayoutsNames
  Dim allColDefs
  Set allColDefs = MTBProperties.GetColumnDefs(3)
  Dim i
  For i=0 To UBound(allLayouts, 1)
    Dim colDef    
    For Each colDef in allColDefs
      WinMsgBox "AfterReadMTB_Layout: " & CStr(allLayouts(i)) & vbCrLf &_
      "Property: " & CStr(colDef.Name) & vbCrLf &_
      "Value: " & CStr(MTBProperties.Property(allLayouts(i), colDef.Name).Value)
      counter=counter + 1
    Next
  Next
End Sub